package com.naiterui.ehp.bp.bo.im;

import cn.hutool.json.JSONUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author gaoliangliang
 * @date 2019/11/29 2:53 下午
 * @since 1.0.0
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("inner消息会话列表查询BO")
public class SessionParamBO {

    /*0：全部，1：免费，2：收费*/
    public static final int FEE_TYPE_NONE = 0;
    public static final int FEE_TYPE_PAY = 2;
    public static final int FEE_TYPE_FREE = 1;

    @ApiModelProperty("医生Id")
    private Long doctorId;
    @ApiModelProperty("患者Id")
    private Long patientId;
    @ApiModelProperty("就诊人Id列表")
    private List<Long> inquirerIds;
    @ApiModelProperty("页码")
    private Integer pageNo;
    @ApiModelProperty("每页条数")
    private Integer pageSize;
    @ApiModelProperty("会话筛选")
    private Integer feeType;
    @ApiModelProperty("开始时前Gt")
    private Long beginGt;
    @ApiModelProperty("开始时间LT")
    private Long beginLt;
    @ApiModelProperty("是否包含病例(0:否, 1:是)")
    private Integer containRecord;

    @Override
    public String toString() {
        return JSONUtil.toJsonStr(this);
    }
}
